package com.whw.fy.service;

import com.whw.fy.entity.Message;
import com.whw.fy.entity.PurchaseCourseRecords;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PurchaseCourseRecordsService {


    Message deleteByPrimaryKey(Integer purchaseId);

    Message insert(PurchaseCourseRecords record);

    Message insertSelective(PurchaseCourseRecords record);

    Message selectByPrimaryKey(Integer purchaseId);

    Message updateByPrimaryKeySelective(PurchaseCourseRecords record);

    Message updateByPrimaryKey(PurchaseCourseRecords record);

    int batchInsert(List<PurchaseCourseRecords> list);

    Message selectAll();

    Message selectByStudentId(Integer studentId);

    Message selectByStudentIdAndClassStatus(Integer studentId, Integer classStatus);

    int updateBatchSelective(List<PurchaseCourseRecords> list);
}








